package com.framework.dao.YHBDao.currentcountDao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.framework.yhbEntity.currentcount.YhbCurrentCount;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 账单明细
 * @author wq
 */
public interface YhbCurrentCountDao extends BaseMapper<YhbCurrentCount> {

    /**
     *流水信息
     * @param userId
     * @param start
     * @return
     */
    List<Map<String, Object>> getCurrentCountInfoList(@Param("userId") String userId, @Param("start") Integer start);

    /**
     * 冻结详情
     * @param userId
     * @param start
     * @return
     */
    List<Map<String, Object>> queryFreezenFlow(@Param("userId") String userId,@Param("start")  Integer start);

    List<Map<String, Object>> queryCurrentCountlist(Map<String, Object> params);

    Integer queryCurrentCountCount(Map<String, Object> params);
}
